<div class="form-toolbar"> 
    <div class="btn-group pull-right"> 
      <% if ! defined?(unbuttoned) %>
          <% if defined?(post_record) && !post_record.id.blank? %>
              <% if defined?(@post_type) && @post_type == 'post' %>
                <%= link_to admin_article_path(post_record), method: :delete, data: { confirm: t("views.admin.generic.confirm") }, :class => 'btn btn-sm btn-danger pull-left' do %>
                    <i class="fa fa-trash-o"></i>&nbsp;<%= t("views.admin.generic.delete") %>
                <% end %> 
              <% else %>
                <%= link_to admin_page_path(post_record), method: :delete, data: { confirm: t("views.admin.generic.confirm") }, :class => 'btn btn-sm btn-danger pull-left' do %>
                      <i class="fa fa-trash-o"></i>&nbsp;<%= t("views.admin.generic.delete") %>
                  <% end %> 
                <% end %>
              <%= link_to page_path(post_record), :class => 'btn btn-default btn-sm pull-left hidden-xs', :target => '_blank' do %>
                  <i class="fa fa-search"></i>&nbsp;<%= t("views.admin.generic.view") %>
              <% end %>  
          <% end %>
          <% if defined?(admin_record) && !admin_record.id.blank? %>
              <% if admin_record.overlord != "Y" %>
                <%= link_to admin_administrator_path(admin_record), method: :delete, data: { confirm: t("views.admin.generic.confirm") }, :class => 'btn btn-sm btn-danger pull-left' do %>
                    <i class="fa fa-trash-o"></i>&nbsp;<%= t("views.admin.generic.delete") %>
                <% end %>
              <% end %> 
          <% end %>
          <button type="submit" class="btn btn-primary btn-sm pull-right"><i class="fa fa-check"></i>&nbsp;<%= t("views.admin.generic.save") %></button>
      <% else %>
          &nbsp;
      <% end %>
    </div>
    <div class="clearfix"></div>
</div>